Structural investigation of GeMn thin films grown on Ge and Si