Reflective-to-absorptive THz switchable bifunctionality through phase transition of vanadium dioxide in a 1D defective photonic crystal microcavity