Perovskites in catalysis and electrocatalysis