Terminus-immobilization effect on peptide conformations and peptide–peptide interactions