Phil Foden scored twice, Erling Haaland and Rayan Cherki also scored as Manchester City defeated Borussia Dortmund in UEFA Champions League action.