The actor, 57, has admitted he thought about taking his own life after being accused of flashing cast members on the sets of Doctor Who .