Demonstration of giant anisotropic magnetoresistance, high spin filtering efficiency, and negative differential resistance in nanodevices based on oxygen doped black arsenic phosphorus nanoribbons