Photosynthesis and structure of electroless Ni–P films by synchrotron x-ray irradiation