Guernsey beat rivals Jersey 36-19 to win their first league meeting in more than 30 years.