Jail terms given in Erdogan's office bugging case