Ecofriendly catalyst for converting methane into useful gases using light instead of heat