Bending stiffening of graphene and other 2D materials via controlled rippling