Recovery of zinc and manganese from spent batteries