Determination of the magnetic structure of Mn3Sn using generalized neutron polarization analysis