Use of silicon drift detectors for the detection of medium-light elements in PIXE