confucianism daoism and legalism compare and contrast