who declared brazil's independence in 1822?