Femtosecond laser direct writing wedge metallic microcavities for terahertz sensing