Marvell Technology to buy chipmaker Cavium for about $6 billion