Molecular dynamics simulations of end-to-end contact formation in hydrocarbon chains in water and aqueous urea solution.