Algebraic properties of quandle extensions and values of cocycle knot invariants.