Determining the equation of state of dark energy from angular size of compact radio sources and X-ray gas mass fraction of galaxy clusters