Self-assembly and biomechanics of cytoskeletal filaments