Stochastic Linear-Quadratic Optimal Control Theory: Differential Games and Mean-Field Problems