CapPack devices for the evaluation of parameters and pulse performances in liquid and solid-state NMR spectroscopy