Expressions to determine temperatures and emission measures for solar X-ray events from GOES measurements