Electrochromic properties of Nb2O5 and (Nb2O5) ly (TiO2)y thin films intercalated with Mg2+ and H+ ions