The wife of actor Sir Mark Rylance died after being diagnosed with cancer, a family statement confirms.