Electronic and optical properties of strain-locked metallic Ti2O3 films