Police officer dies of apparent suicide a year after joining the force