The structure of symplectic groups associated with a quadratic extension of fields