'Blood test' for corals to measure impact of warming