Non-metricity with bounday terms: $f(Q,C)$ gravity and cosmology