Army dentist accused of revenge porn against SAS hero granted bail by judge