input: Write a function to scrape photos and captions from a given website. The function should take the website URL as input, retrieve the HTML source, parse it using BeautifulSoup, and extract all images and their captions from specific div elements. It should print the photo URL and its corresponding caption if available. If no caption is found, it should print "No caption".
  assert scrape_photos_and_captions('https://example.com/webpage')
  assert scrape_photos_and_captions('https://example.com/another-webpage')
output: def scrape_photos_and_captions(url):
      import requests
      from bs4 import BeautifulSoup
      
      response = requests.get(url)
      soup = BeautifulSoup(response.text, 'html.parser')
      
      for img in soup.find_all('img'):
          img_url = img.get('src')
          caption = img.find_next('div', {'class': 'caption'})
          if caption:
              print(f"Photo URL: {img_url}, Caption: {caption.text}")
          else:
              print(f"Photo URL: {img_url}, Caption: No caption")