China has rejected calls from several foreign governments to free five women's rights activists who have spent nearly three weeks in detention.