Cyclic codes over $M_2(\mathbb{F}_p)$ and their quasi-cyclic images over $\mathbb{F}_p$ and $\mathbb{F}_{p^2}$