Monitoring Biodegradation of Magnesium Implants with Sensors