Ultralow switching voltage slope based on two-dimensional materials for integrated memory and neuromorphic applications