Owners who fail to keep their dogs under control are the biggest cause of attacks in Britain, a new study has found.