Multifunctional sol-gel derived thin film based on nanocrystaline hydroxyapatite powders