Structural, electronic, and optical properties of Cu3-V-VI4 compound semiconductors