Measurement of the top quark polarization and t t spin correlations using dilepton final states in proton-proton collisions at s =13 TeV