de unde stiu cand legatura este una covalenta sau ionica?