Vector field models of modified gravity and the dark sector