heatwaveR: A central algorithm for the detection of heatwaves and cold-spells