Full Symmetry Groups and Exact Solutions to BKP and GKP Equations