Theoretical investigation of charge transfer between the NV- center in diamond and substitutional N and P