The leaders of France, the United Kingdom and Germany have condemned what they described as the "killing of protesters" in Iran, urging the authorities to "exercise restraint".