Korey Smith and Joe Bryan scored to help Bristol City stun holders Manchester United in the Carabao Cup.