Connected graphs of fixed order and size with maximal index: Some spectral bounds