Royal Mail and Communication Workers Union reach agreement on pay