Harmonic Autoencoding Framework for Multiple Tasks in Magnetic Particle Imaging Reconstruction