Free vibration of a square cylinder at low Reynolds numbers