Lam Research reports June quarter results as chip gear demand shifts