Samsara's stock price rose by 10%, with gross margin and revenue in the second quarter exceeding expectations