Text this: Biodegradable microdevices for biological detection and smart therapy