Generation of tripartite quantum correlation among amplitude-squeezed beams by frequency doubling in a singly resonant cavity