Electronic structure and properties of layered gallium telluride