Study of bio-corrosion of pure magnesium