On the Structural Analysis and Electronic Properties of Chitosan/Hydroxyapatite Interaction