Empirical effective temperatures of late O, B, A and early F stars