Effective in-plane stiffness and bending rigidity of armchair and zigzag carbon nanotubes