Blood flow under the influence of externally applied periodic accelerations in large and small arteries