A Convex Algorithm for Mixed Linear Regression