Simulations of radiation damage as a function of the temporal pulse profile in femtosecond X-ray protein crystallography.