The sides of the double helix are made up of: