Flexible sensors for high-quality recording and human-computer interface