Freeness versus maximal global Tjurina number for plane curves