Reliability assessment and lifetime prediction of Li-ion batteries for electric vehicles