Integer parts of powers of Pisot and Salem numbers