Ferromagnetic anisotropy of the electrical resistivity in cubic uranium phosphide and arsenide with Th3P4 structure