Common damages and recommendations for the seismic retrofitting of vernacular dwellings