Two-dimensional materials for high density, safe and robust metal anodes batteries