Structural and thermodynamic studies of n-butanol