The role of heteroatom substitution in the rigidity and curvature of buckybowls. A theoretical study