Phase diagram of the triangular Ising model: Renormalization-group calculation with application to adsorbed monolayers