Electronic, optical, and mechanical properties of BN, AlN, and InN with zinc-blende structure under pressure