Foundations and trends of high resolution energy dispersive PIXE (HiRED-PIXE)