Distributions of implanted Fe ions in quartz crystal and silicon