Pulsating waves in nonlinear magnetoconvection