Hazard mapping based on macroseismic data considering the influence of geological conditions