What are the octet rule and duet rule?