Non-destructive analysis of polymers and polymer-based materials by compact NMR