Moldova's foreign minister resigns