Thin-film drug delivery