The average cost of getting divorced is $15,000 in the US — but here’s why it can be much higher