Strong global dimension of commutative rings and schemes