Ferguson, Robert Alexander, Sir, active 1823-1855, Baronet, MP