Taiwan has passed a new law to impose tougher punishments for child abusers, including the death penalty.