The life and work of James Ward, R.A. 1769-1859