Frobenius functors and Gorenstein flat dimensions