Study of the structures of four-quark states in terms of the Born-Oppenheimer approximation