NMR investigations of biological and synthetic phosphate-based nanocomposites