Response of X-UV photodiodes to 1.5–17.5 keV x rays and MeV alpha particles