General teleparallel quadratic gravity