The UK Department of Health has launched a mobile phone application that allows people to keep track of their drinking.