Three-dimensional model of heteroepitaxial growth of germanium on silicon