Quantum paraelectric and induced ferroelectric states in SrTiO3