Stability and robustness analysis of a linear time-periodic system subjected to random perturbations