Long spin coherence and relaxation times of nitrogen-vacancy defects in nanodiamond