Seismic damage and comparison of fragility functions of public and residential buildings damaged by the 2014 Mae Lao (Northern Thailand) earthquake