Weakly commensurable arithmetic groups and isospectral locally symmetric spaces