Automated Post-Earthquake Building Damage Assessment Using Smart Devices