Apple and Ericsson settle long-standing 5G patent dispute