Molecular mechanics study of ion binding by a cyclic pentapeptide.