The structural and electronic properties of TiO2 polymorphs towards water splitting reaction