Photoelectrochemical study of metal oxide based semiconducting thin films for water splitting applications