Functionalized graphene as a model system for the two-dimensional metal-insulator transition