Piezotronics in two‐dimensional materials