Dislocations, extended defects and interfaces at nanoparticles as effective sources of room temperature photo- and electro-luminescence in silicon and silicon-germanium