Two-wave mixing in a nematic liquid-crystal film sandwiched between photoconducting polymeric layers