More than 2 million UK households are paying higher taxes thanks to a freeze in the thresholds and a previous allowance cut.