Explicit maximal and minimal curves of Artin–Schreier type from quadratic forms