NSW Police officer sacked after incident in Dubbo