Unified Least Squares Approach to Linear Estimation in a General Gauss–Markov Model