Periodic B3LYP study of hydroxyapatite (001) surface modelled by thin layer slabs