Predicting the wall-shear stress and wall pressure through convolutional neural networks