Coupled-channel effects in the pp→ppK+K−pp→ppK+K− reaction