A South African court has charged three farmers with killing two women and trying to feed their bodies to pigs.