Mechanical control of magnetism in oxygen deficient perovskite SrTiO3.