Method for generation of pendant drops through localized condensation for contact angle measurements in conditions deviating from standard environment