Entropy and enthalpy of interaction between amino acid side chains in nanopores