How do we know the expansion of the universe is accelerating?