STT-BNN: A Novel Energy-efficient and Scalable BNN Accelerator Based on STT-MRAM