Influence of Gd doping on the visible-light photocatalytic activity and magnetic properties of BiFeO3 particles