Flexible Nanogenerators for Energy Harvesting and Self‐Powered Electronics