Primary and secondary instabilities in the wake of a cylinder with free ends