A DEGREE CONDITION FOR GRAPHS TO HAVE CONNECTED (g,f)-FACTORS