A Deep Learning Approach with an Attention Mechanism for Automatic Sleep Stage Classification