Openwave accuses Apple and RIM of violating patents