Optical approaches to determine near‐surface compositions during epitaxy