Controlled delivery and release of asphaltene inhibitors