Universal inverse electrocaloric effect in perovskites