Recycling of batteries