General formulas for polarization observables in deuteron electrodisintegration and linear relations