The problem of longitude at sea in the 18th century in Spain