Shifted ratio method for calculation of critical parameters from power series expansions