Extending displacement-based earthquake loss assessment (DBELA) for the computation of fragility curves