Inconsistent least squares problems