Handwriting-Based Gender Classification Using End-to-End Deep Neural Networks