Metformin treatment confers protection of the optic nerve following photoreceptor degeneration