Impulsive orientation and alignment of quantum-state-selected NO molecules