Nilfactors of R^m-actions and configurations in sets of positive upper density in R^m