Adjustable anisotropy in ferromagnetic (Ga,Mn) (As,P) layered alloys