A MICROSCOPIC APPROACH TO THE STRUCTURE AND THERMODYNAMIC PROPERTIES OF PEPTIDES AND PROTEINS