Lockout over: NBA ratifies new CBA