LM: Satisfiability-Aided Language Models Using Declarative Prompting