Multilayer implants for delivery of therapeutic agents