An approximate least squares reflectivity inversion in the presence of density