In situ simultaneous measurement of magnetic coil constants and nonorthogonal angles using atomic magnetometers