NHS workers set for 6.5% pay rise over three years