Variable-range hopping in the quantum Hall regime