Simulation of corrosion and mechanical degradation of additively manufactured Mg scaffolds in simulated body fluid.