Developing fragility curves and loss functions for masonry infill walls | Synapse