Two Nato service members have been killed in an insurgent attack in southern Afghanistan.