Novel electronic and magnetic properties in N or B doped silicene nanoribbons