Turkey coup: Top officers given life terms in mass trial