Effect of reduced dimensionallity on the optical band gap of SrTiO3