Efficient and Secure Deep Learning Inference System: A Software and Hardware Co-design Perspective