Giant magnetoresistance and spin-filtering effects in zigzag graphene and hexagonal boron nitride based heterojunction