Apple to pay more than $300 million after infringing DRM patent