Converting Riometer Absorptions to Electron Energy Fluxes Based on the First Principle Modeling of Ionospheric Responses to Energetic Electrons, X-Rays and Solar Protons Precipitations