All-optical tunable multilevel amplitude regeneration based on coherent wave mixing using a polarizer