As one of the Mediterranean’s most beautiful oases and prestigious filming locations, Dubrovnik and its surrounding bays and islands are no secret. Get there before or after peak summer to find them at their most serene, says Lucy Thackray