Chelsea took advantage of Manchester City's loss to climb to fourth in the Premier League after beating Leicester City.