Engineering coordination polymers towards applications