Exciton states in isolated quantum wires