Metal oxide thin films for optoelectronic applications