Laboratory spectroscopic study and astronomical detection of vibrationally excited n-propyl cyanide