Dynamic structures of rare conformations involved in amyloid formation