Multi-resolution analysis of earthquake losses : from city block to national scale