Analysis of the carbon-rich very metal-poor dwarf G77-61