Nuclear reaction analysis of hydrogen in amorphous silicon and silicon carbide films