Theoretical insight into two-dimensional M-Pc monolayer as an excellent material for formaldehyde and phosgene sensing