A pensioner who downloaded indecent images of children and extreme pornography involving slavery and humiliation has avoided jail.