Phase interference dependent single PhC based logic gate structure with T-shaped waveguide as XOR, NOT and OR logic gates