Strain-optoelectronic coupling properties of externally deformed nanoribbons with embedded quantum well