Control electromagnetic heat transfer using photonic structures