EncodingNet: A Novel Encoding-based MAC Design for Efficient Neural Network Acceleration