US secretary of defence told Europe and Asia that the time for a ‘free ride’ on American protection is over