Modelling of thermomagnetic curves obtained with Mössbauer spectrometry for two-phase nanocrystalline alloys