Absolute deformation potentials of two-dimensional materials