Ex-military more likely to be jailed for violent and sexual offences