The present invention provides: a compound represented by general formula (I) or a pharmacologically acceptable salt thereof; and a pharmaceutical composition which contains the compound or a pharmacologically acceptable salt thereof. (In the formula R1 X p and q are as defined in the description and claims.)