Neuromechanical Modeling of Nematode C. elegans via Modular Integration and Deep Learning