Target preparation techniques for PIXE and XRF