Equilibrium morphology in two-dimensional heteroepitaxy on an elastic substrate