Internal polarization in the porous substructure of a semipermeable membrane under pressure-retarded osmosis