Towards printable electronics and optics for bioactive paper, intelligent packaging, and sensor applications