Ab initio studies of early stages of nitride growth process on silicon carbide