Near-resonant dynamics, period doubling and chaos of a 3-DOF vibro-impact system