Forces and Pressures in DNA Packaging and Release from Viral Capsids