ChemGrapher: Optical Graph Recognition of Chemical Compounds by Deep Learning