Gabriel and Krull dimensions of modules over rings graded by finite groups