The total irregularity of a graph