Which photosystem in the thylakoid membrane is responsible for splitting water molecules to release oxygen?