1H NMR analysis of nuclear relaxation mechanisms in Pd-H and Pd-Ag-H alloys