Thai general denies military coup was planned