Wearable electronics and photonics