Monodromy and Picard-Fuchs equations for families of $K3$-surfaces and elliptic curves