Superconducting vortices in periodic pinning structures