The US defence secretary called on European countries to do more to contribute to their own defence in a speech at the American military cemetery in Normandy.