Steam reforming of methane in a membrane reactor