Fabrication of smart titanium implants by femtosecond laser synthesis.