Energy resolution at the Fano limit: The benefits of the principle of sideward depletion for solid state X-ray spectrometry