Forward and backward in time dispersion of fluid and inertial particles in isotropic turbulence