Influence of atomic mixing and preferential sputtering on depth profiles and interfaces