Both women are accused of killing their children during psychotic episodes.