An Optimization Method of Layered Neural Networks based on the Modified Information Criterion