who did pep guardiola manage before manchester city