Cosmological models with Lagrange multiplier field