A mental health nurse who possessed indecent photos of kids has been struck off after being convicted in court.