Thermographic characterisation of defects and failure in polymer composites