On the rings whose injective hulls are flat