which type of bond occurs when there is sharing of electron