The beauty company enjoyed a strong second quarter.