Assembly Mechanism of Mucin and von Willebrand Factor Polymers