Kodak loses patent infringement case against Apple and RIM