Fundamental physics with future gravitational wave observatories