Neutron moderation theory with thermal motion of the moderator nuclei