No military solution will provide security: Lebanese president tells Israel