Drifting into a business partnership? A formal agreement may limit your liability