Correlation between molecular structures and reaction conditions (temperature–pressure–time) in the preparation of secondary, tertiary, and quaternary ammonium-functionalized polyhedral oligomeric silsesquioxanes