Peloton rises as revenue beats, quarterly loss is wider than expected