Text this: Investigations of all-optical gates based on linear photonic crystals using the PSK technique and beam interference effect.