Wearable system based on flexible fbg for respiratory and cardiac monitoring