How do you evolve Eevee into leafeon or glaceon?

leafeon- go to the moss covered rock in eterna forest. level it up around the rock.

glaceon- go to the ice covered rock near snowpoint city. level it up near the rock.