A historiographic study of psychiatric treatments in Brazil: mentalism and organicism from 1830 to 1859