Imaging through inhomogeneous media using time reversal mirrors