Multigrid based preconditioners for the numerical solution of two-dimensional heterogeneous problems in geophysics