Tetraquark states with open flavors