How a self-taught chemist made drug dealers millions, and helped fuel a fentanyl epidemic.