Hybrid p-element and Trefftz method for capacitance computation