3D-printed self-healing, biodegradable materials and their applications