Dating the emergence of pandemic influenza