The location of two ships from a certain port, given in polar coordinates, are (2mi, 160 degrees) and (7mi, 240 degrees). Find the distance between the two ships.