Comparison Studies of the Linear and Nonlinear Optical Properties of CsPbBrxI3–x Nanocrystals: The Influence of Dimensionality and Composition