A Timoshenko-like model for the study of three-dimensional vibrations of an elastic ring of general cross-section