Structure and melting behavior of classical bilayer crystals of dipoles