Flexible Dual-Mode Tactile Sensor Derived from Three-Dimensional Porous Carbon Architecture.