Effect of valproic acid on hepatic function