Laser spectroscopy of hydrogen and antihydrogen