A novel characterization of cubic Hamiltonian graphs via the associated quartic graphs