Variance bounds, with an application to norm bounds for commutators