Ceramic membrane reactor for converting methane to syngas