Geochemistry and cosmochemistry of lithium