Certain families of K3 surfaces and their modularity