Integrating Canonical Neural Units and Multi-Scale Training for Handwritten Text Recognition