Calculation of excess free energy from the averaged effective acceptance ratio in Monte Carlo simulation for argon, nitrogen and water