Biodegradable sensor could help doctors monitor serious health conditions