Measurement of magnetocaloric effect in pulsed magnetic fields with the help of infrared fiber optical temperature sensor