Mg II h + k emission lines as stellar activity indicators of main sequence F-K stars