High performance aluminum foam-graphite dual-ion batteries and failure analysis