Structure of the monomeric outer membrane porin OmpG in the open and closed conformation