Dual-modality and dual-energy gamma ray densitometry of petroleum products using an artificial neural network