An isothermal Peltier cell calorimeter for measuring the magnetocaloric effect