Strain control of the magnetic anisotropy in (Ga,Mn) (As,P) ferromagnetic semiconductor layers