Jack in the Box Inc.’s quarterly and annual profits rise