A 63-year-old man has been jailed after burgling two Herefordshire homes and fleeing the scene.