Wetting and supercontraction properties of spider-based nanofibers