Strain profiles in ion‐doped silicon obtained from X‐ray rocking curves