How molecular architecture defines quantum yields