Digital divide narrowed by pandemic, but around 1.5m homes remain offline