Sol–gel derived hydroxyapatite coatings on titanium and its alloy Ti6Al4V