Safe Active Navigation and Exploration for Planetary Environments Using Proprioceptive Measurements