NMR analysis in solid state