Spider silk based fibre optic sensor