NMR studies of magnetic superconductor RuSr2RECu2O8 (RE=Gd, Eu and Y)