The connected fitness company posted net income of $26.4 million, reversing a loss of $47.7 million in the same quarter a year ago