A comparative study on the neutron-gamma density and gamma-gamma density logging