They're backed up in the iTunes backup. You can access the messages in database form using iPhone Backup Extractor. You'll also need SQLite Database Manager. Search on my user name and iPhone Backup Extractor to see how to use both programs and for links.