Electrically tunable optical properties of few-layer black arsenic phosphorus