The electrocaloric effect of lead-free Ba1− y Ca y Ti1− x Hf x O3 from direct and indirect measurements.