Families of two women who died in hospital have questioned the use of "do-not-resuscitate orders".