Defected photonic crystal-based sensor with enhanced performance (preprint)