Determination of the quasiparticle energy distribution in superconducting tunnel junctions under microwave irradiation