Poland's senate has approved a controversial bill that makes it illegal to accuse Poles of complicity in crimes committed by Nazi Germany, including the Holocaust.