Judge uses retirement speech to confess that he drew rude graffiti on an official court computer