Electronic and optical properties of InAs1-xPx alloys under the effect of temperature and pressure