Direct and Converse Flexoelectricity in Two-Dimensional Materials