Pharma giant says it plans to appeal after court says firm was 'deceptive' in marketing two cancer drugs containing fentanyl for other types of pain