Cooperative Switching in Nanofibers of Azobenzene Oligomers