End-cloud collaboration method enables accurate state of health and remaining useful life online estimation in lithium-ion batteries