Travis Perkins to cut 2,500 jobs and close 165 branches