Substitutes Raheem Sterling and Phil Foden scored the goals on a night when Manchester City were uncharacteristically profligate in front of goal