Design, simulation and characterization of integrated photonic spectrographs for astronomy: generation-I AWG devices based on canonical layouts.