High-pressure synthesis of MgB2 with addition of Ti