A registered sex offender who was serving a suspended sentence has been jailed after pleading guilty to online child sex offences