The better-than-expected data from the two vaccines, both developed with new technology known as messenger RNA (mRNA), have raised hopes for an end to a resurgent pandemic that has killed more than 1.3 million people globally and wreaked havoc across many countries, hitting economies and daily life.