Phase sequence relay