Optical properties of ZnCoO films and nanopowders