Numerical Analysis Of First And Second Order Unconditional Energy Stable Schemes For Nonlocal Cahn-Hilliard And Allen-Cahn Equations