Surface roughness, strain, and alloy segregation in lattice-matched heteroepitaxy