Attention Mechanism for Lithium-Ion Battery Lifespan Prediction: Temporal and Cyclic Attention