A theoretical mathematical model for assessing diclofenac release from chitosan-based formulations