Tropical depression heads for Bermuda