$q$-Difference raising operators for Macdonald polynomials and the integrality of transition coefficients