Liverpool defeated Chelsea in a dramatic penalty shoot-out to reach the League Cup quarter-finals, while Manchester City also survived on spot-kicks against Brighton.