Renesas to buy chipmaker IDT for $6.7 billion