Dust-acoustic solitary and periodic waves in magnetized self-gravito-electrostatic opposite polarity dusty plasmas