Fast and small spectral sensors for fibre Bragg gratings