Pay excluding bonuses is failing to keep up with the rising cost of living, official statistics show.