Cholinesterase inhibitory and spasmolytic potential of steroidal alkaloids