On necessary and sufficient conditions for the solvability of the equations rot μ=γ and div μ=ε with μ vanishing on the boundary