Members of Australia's Olympic swimming team have admitted using prescription medication during a "bonding" session before the 2012 London Games.