Influence of cubic anisotropy in dipole-dipole interactions on structural phase transitions using the renormalization group transformation