Detection of formaldehyde-induced crosslinking in soft elastic gelatin capsules using near-infrared spectrophotometry.