Disgraced former BBC presenter Huw Edwards has been spared jail after admitting accessing indecent images of children as young as seven.