Panthers beat Red Wings 5-2, clinch best record in East