First-principles investigation of structural, mechanical and electronic properties for Cu–Ti intermetallics