RoboChemist: Long-Horizon and Safety-Compliant Robotic Chemical Experimentation