Spanish smoking ban takes effect in bars and restaurants