Thousands visit Capitol as Jimmy Carter lies in repose before state funeral