Charlton Athletic knocked out Queens Park Rangers (QPR) from the first round of the Carabao Cup on penalties.