Software-based teaching of optical demultiplexers by using photonic crystals with presenting the syllabus for MSc students in electronic engineering major