The gender pay gap has reduced in the past two decades, but parity is still a long way off