Indirect and Direct Measurements of the Electrocaloric Effect