Interplay of 4f and 3d moments in EuFe2As2 iron pnictides