The photoproduction of circumstellar OH maser shells