Synthesis and characterization of Ti–Co alloy foam for biomedical applications