Direct conversion of methane to zeolite-templated carbons, light hydrocarbons, and hydrogen