Density functional theory study on structural and mechanical properties of graphene, T-graphene, and R-graphyne