An investigation of electroelastic bandgap formation in locally resonant piezoelectric metastructures