Prenuptial and postnuptial agreements tend to be viewed negatively, but they are essential documents for many couples.