The continuum limit and QM-continuum approximation of quantum mechanical models of solids