Japanese firms Honda and Nissan have announced plans to join forces, which would form the world's third-largest car maker by sales.