Baryogenesis, dark matter, and flavor structure in non-thermal moduli cosmology