Friction compensation and external force estimation for robotic systems using a fuzzy neural network approach