Två IS-kopplade afghanska män döms till fängelse i Tyskland för terrorplaner mot svenska riksdagen, rapporterar Ekot.