Swearing could boost physical performance by helping one overcome inhibitions, feel focused and push harder on tests of strength and endurance, according to a study.