Analytical model for neutron diffraction peak shifts due to the surface effect