Analysis and observer design for the Bullard and Rikitake dynamos