Simple and low-cost manufacturing of customisable drug delivery devices and flexible sensors for biomedical applications