Enhancement of energy relaxation rates at threshold well widths in quantum well structures