Allianz posts record 4.9 billion euro operating profit in second quarter