Integrating knowledge bases to improve coreference and bridging resolution for the chemical domain