Defect structure of ultrafine MgB2 nanoparticles