Effects of water-absorption and thermal drift on a polymeric photonic crystal slab sensor