Air force pilots are among military staff jailed for trying to topple President Erdogan.