Structure and optical properties of CuGaSe2 thin films