A magnetic resonance study on the structure of amorphous networks in the Si–B–N(–C) system