Drug delivery and tissue engineering applications of chitosan-based biomaterial systems