Extending spin relaxation times of nitrogen-vacancy centres in nanodiamonds via surface modification