Apple violated antitrust laws in e-book case, federal judge rules