Comparisons between cationic polyelectrolytes and nonionic polymers for the protection of palladium and platinum nanocatalysts