Strain in Si or Ge from the edge forces of epitaxial nanostructures