Time-Inconsistent Stochastic Linear--Quadratic Control