Secure Mobile Computing by Using Convolutional and Capsule Deep Neural Networks