Phonon and quasiparticle mediated detection of X-rays and α-particles with superconducting tunnel junctions