A flexible and biocompatible triboelectric nanogenerator with tunable internal resistance for powering wearable devices