Quantum size effect and surface defect passivation in size-controlled CsPbBr3 quantum dots