THE PHYSICAL FOUNDATIONS FOR THE GEOMETRIC STRUCTURE OF RELATIVISTIC THEORIES OF GRAVITATION: FROM GENERAL RELATIVITY TO EXTENDED THEORIES OF GRAVITY THROUGH EHLERS-PIRANI-SCHILD APPROACH