atomic scattering factor and structure factor