Crack formation in GaAs heteroepitaxial films on Si and SiGe virtual substrates