Structural, elastic, electronic and optical properties of black phosphorus, TiP and VP; ab initio study