Officer who downloaded indecent images 'betrayed the trust of North Yorkshire Police'