Identification of ion fragments produced from thymine and deuterated thymine by low energy ion impact in films and electron impact in the gas phase