Apple warns proposed UK law would undermine encryption