Extrapolation of nuclear observables in light nuclei using artificial neural networks