A six-degree-of-freedom guidance and control analysis of Mars aerocapture