Procedure for the characterisation of piezoelectric samples in non-standard resonant modes