Pulsed release of antidepressants from nanocomposite hydrogels