Quasiparticle tunneling and 1/f charge noise in ultrastrongly coupled superconducting qubit and resonator