A common framework for understanding the origin of genetic dominance and evolutionary fates of gene duplications