Police and prison officers will no longer be subject to the 1% pay cap, the Government has confirmed.