Tunable characteristics of porous silicon optical microcavities by energetic N ion beam interactions