Investigations of the stability of GaAs for photoelectrochemical H2 evolution in acidic or alkaline aqueous electrolytes