The design of bipolar spin semiconductor based on zigzag–edge graphene nanoribbons