A CVD diamond beam telescope for charged particle tracking