A-site perovskite oxides: an emerging functional material for electrocatalysis and photocatalysis