Optimized non-parametric fragility curve estimation based on intensity measure data clustering and parametric model averaging