An investigation of the optical properties and water splitting potential of the coloured metallic perovskites Sr1−xBaxMoO3