A parallel matching algorithm for convex bipartite graphs and applications to scheduling