Ion-beam analysis of mismatched epitaxial heterostructures