An equation-of-state approach to determine surface tensions of low-energy solids from contact angles