Continuous dependence of least squares solutions of linear boundary value problems