Thin-film rechargeable lithium batteries