Deep autoencoders for physics-constrained data-driven nonlinear materials modeling