Hermitian pencils with a cubic minimal polynomial