Spin-dependent transport properties in covalent–organic molecular device with graphene nanoribbon electrodes