Israel slams Polish legislation on Holocaust-era crimes