J&J to contribute up to $5 billion to potential opioid settlement