Text this: Spectral analysis of bent fiber Bragg gratings: theory and experiment