Engineered metal oxide nanostructures for sensitized solar cell water splitting and photo sensor applications