A comprehensive study of surface and space charge effects at an operating water splitting iron oxide photoanode