Interrelation of electrocaloric and concomitant effects in lead magnesium niobate based ceramics