Detailed balance in Horava-Lifshitz gravity