The Japanese automaker’s sales got a boost from growing demand for hybrids.