Magnesium for biomedical applications as degradable implants: thermomechanical processing and surface functionalization of a Mg-Ca alloy