Apple and Samsung duke it out in court