Adaptive sampling trust-region methods for derivative-based and derivative-free simulation optimization problems