SIMULATION OF HEAT AND MASS TRANSFER IN PORES AS APPLIED TO SYNTHESIS OF MAGNESIUM-ZINC AND NICKEL-ZINC FERRITE NANOPARTICLES