Rational periodic points of rational functions