Risk and resilience to natural hazards