Principles of genetic segregation