Obstruction calculus for functors of Artin rings. I