First principle investigation of the thermomechanical properties of type A carbonated apatite