Integer parts of powers of rational numbers