Perturbation theory of constraints - Application to a lithium hydride calculation