The paint giant behind Dulux is to cut about 2,000 jobs in a bid to slash costs.