Dynamics of Intramolecular Contact Formation in Polypeptides