Effect of surrounding environment on atomic structure and equilibrium shape of growing nanocrystals: gold in/on SiO2