Mid-infrared efficient generation by resonant four-wave mixing in a three-coupled-quantum-well nanostructure