The order of the commensurate-incommensurate phase transition in (NH4)2BeF4 crystals