Efficient prediction of reaction mechanisms through molecular graph and reaction network analysis.