Electrochromic properties of Nb2O5 and (Nb2O5)1-y(T1O2)y thin films intercalated with Mg2+ and H+ions