A supersonic molecular beam for gas-surface interaction studies with synchrotron radiation