The Relation between Magnetic Properties and the Shape of Mössbauer Spectra