France advances to semifinals with 67-64 win over Spain