Gravar-mail: Referencing technique for intensity-based sensors using fibre optic Bragg gratings