Why does oxygen bond with hydrogen in the ratio 1:2 (and how can you apply this concept to other element compounds)?