NBA star Leonard has knee surgery