Stress evolution of Ge nanocrystals in dielectric matrices