Sparse and Continuous Attention Mechanisms