Layering and relaxation in molecular films of a photosensitive polyacrylate from X-ray reflectivity and in elastic neutron scattering experiments