Turkish generals face court over failed coup attempt