Time and Cost-driven Scheduling of Data Parallel Tasks in Grid Workflows