A quantum memory intrinsic to single nitrogen–vacancy centres in diamond