Cross-section and polarization in the photodisintegration of the deuteron with arbitrary number of electromagnetic multipoles