A bridge loan lets you buy your next home without waiting to sell your current one. Here is how they work, what they cost, and when they make sense.