Magnetic order and multipoles in the 5d2 rhenium double perovskite Ba2YReO6