Earthquake scaling relations