A Method for Handling Dependencies and Partial Dependencies of Fragility Curves in Seismic Risk Analysis