A tunable Fabry-Pérot cavity for diamond-based photonics