How were the panic of 1819 and panic of 1837 similar?