Backwards and forwards dispersion of a scalar in turbulent wall flows