Radiation stability of SiC and diamond membranes as potential x-ray lithography mask carriers