Optical bistability in defective photonic multilayers doped by graphene