Magnetic field-controlled femtosecond pulse shaping by magnetoplasmonic crystals