A fleet of Russian warships has left the port of Havana after a five-day visit to Cuba, following planned military drills.