Pull-in parameters of cantilever type nanomechanical switches in presence of Casimir force