Effects of chemical and electrochemical etching on polycrystalline thin films of CuGaSe2