Studies on some nanostructured bilayered thin films and their possible applications in photoelectrochemical water splitting