Optical window sealed with indium for ultrahigh vacuum