Exact solution of the neutron transport equation for a slab reactor in presence of backward and forward scattering