Development and characterization of porous magnesium bioresorbable implants