Gravitational wave detection: Principles and practice