The role of orbital dynamics and cloud-cloud collisions in the formation of giant molecular clouds in global spiral structures