Magnetically controllable transmission spectrum of a 1D photonic crystal with a graphene defect layer in infrared region