Techniques for realizing linearly graded composition or doping profiles in molecular‐beam epitaxy