Money can help make marriages more stable but also make couples more likely to get divorced, new research suggests