Boundary element analysis of driven cavity flow for low and moderate Reynolds numbers