Polarization squeezing and entanglement produced by a frequency doubler