US state declares state of emergency amid opioid crisis