Investigation of the mineralization process of biosystems by IR diffuse reflection spectroscopy methods