Uninvadability in N-species frequency models for resident-mutant systems with discrete or continuous time.