Principles of optical fibre temperature sensors