Asymmetric transmission in photonic structures with phase-change components