Enhancement of exciton binding energies in quantum wires and quantum dots