Semiconductor index surges 81% in Q2 as memory stocks lead historic rally