Humans could soon be having two-way conversations with their pets after scientists used machinery to "translate" bat noises.