Micron posts better-than-expected Q2 results and Q3 guidance