Exploring pressure-induced phase transitions of C3N4 with graphite structure by electrical resistance measurements