Theoretical study of transition metals supported on g-C3N4 as electrochemical catalysts for CO2 reduction to CH3OH and CH4