Electrical control of Curie temperature in cobalt using an ionic liquid film