Anharmonicities and non-linearities in the excitation of double giant resonances