Continuous gamma-ray densitometry in a borehole flow meter