Size-dependent dynamics of flexoelectric and flexoelectric-piezoelectric structures