Metal-organic framework assisted synthesis of single-atom catalysts for energy applications