Pep Guardiola says he was proud of Manchester City's resolute performance as they won 2-0 at home to Brighton.