Nonlinear transmittance and optical power limiting in magnesium ferrite nanoparticles: effects of laser pulsewidth and particle size