Congress agrees to extend payroll tax cuts