Lateral interactions in coadsorbate layers: Vibrational frequency shifts