Quantum and nonlinear effects in light transmitted through planar atomic arrays