Calculates the time of sunrise and sunset for a given location.