Control of Photoassociation Yield: A Quantum Dynamical Study of the Mercury System to Explore the Role of Pulse Duration from Nanoseconds to Femtoseconds