LeBron James departs Lakers in free agency