Unions warning over UK spending cuts