A comparison between ac losses obtained by the null calorimetric and a standard electrical method