Evolution of balanced genetic polymorphism