Metrics in the space of curves