Probing the photocatalytic competency of hydroxyapatite synthesized by solid state and wet chemical precipitation method