A woman charged with addressing a letter marked “anthrax” to the White House told federal investigators she did it because she thought she could get better medical care in prison.