Tuning of nanodiamond particles' optical properties by structural defects and surface modifications: DFT modelling