Models for the evolution of selfing under alternative modes of inheritance