Least‐squares fits when there are errors in X