Squeezing and entanglement in doubly resonant, type II, second-harmonic generation