Learning physical properties of liquid crystals with deep convolutional neural networks