Oxygen-17 NQR study of the phase transition in squaric acid