Analysis of the swelling and release mechanisms from drug delivery systems with emphasis on drug solubility and water transport