Development of thermally formed glass optics for astronomical hard X-ray telescopes