Chemical characterisation of spent rechargeable batteries