X-ray standing waves and hard X-ray photoelectron spectroscopy at the insertion device beamline ID32