Text this: Snap-through transition of buckled graphene membranes for memcapacitor applications